package com.wkr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wkr.bean.EmpBean;
/**
 * dao层接口和mapper映射文件之间有一个映射关系：
 * dao层的方法名和mapper中的sql语句的id名保持一致；
 * @author Administrator
 *
 */
public interface IEmpInfoDao {

	 int deleteByPrimaryKey(Long empId);

	    int insert(EmpBean record);

	    int insertSelective(EmpBean record);

	    EmpBean selectByPrimaryKey(Long empId);
	    
	    List<EmpBean> selectByOne(EmpBean record);
	    List<EmpBean> selectLoginInfo(EmpBean eb);
	     
	    int updateByPrimaryKeySelective(EmpBean record);

	    int updateByPrimaryKey(EmpBean record);

		public List<EmpBean> selectByPrimaryKeys2(@Param("list")List<Integer> list);
		public List<EmpBean> selectByPrimaryKeys3(@Param("empid")int id,@Param("empname")String name);
}
